const navbar = {
  state: {
    barActive: 1, //0首页，1个人中心
    isTab: 0 //是否切换0不切换，1切换
  },
  mutations: {
    SET_ACTIVE: (state, active) => {
      state.barActive = active
    },
    SET_ISTAB: (state, isTab) => {
      state.isTab = isTab
    }
  }
};
export default navbar